<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
  <head>
      <link rel="stylesheet" type="text/css" href="<c:url value='/css/Pub.css'/>"></link>
      <meta http-equiv="pragma" content="no-cache">
      <meta http-equiv="cache-control" content="no-cache">
      <meta http-equiv="expires" content="0">
      <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
      <meta http-equiv="description" content="This is my page">
      <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
      <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
      <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
  </head>
  		<form name="f1" method="post" action="${pageContext.request.contextPath}/address_addAddress.action" target="_dataFrame">
            <table class="table table-striped">
                <caption>收货地址</caption>
                <thead>
                <tr>
                    <th>地址明细</th>
                    <th>填写结果</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td valign="top">
                        收货人/地址：
                    </td>
                    <td>
                        <textarea name="name" class="txt" rows="3" cols="40"></textarea>
                    </td>
                </tr>
                <tr>
                    <td>
                        电话：
                    </td>
                    <td>
                        <input class="txt" type="text" name="phone"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        邮编：
                    </td>
                    <td>
                        <input class="txt" type="text" name="zip"/>
                    </td>
                </tr>
                <tr>
                    <td>

                    </td>
                    <td>
                        <button type="button"  onclick="sure();"  class="btn btn-primary btn-lg ">确定</button>
                        <input type="button" onclick="window.close();return false;" class="btn btn-primary btn-lg " value="取消" />
                    </td>
                </tr>
                </tbody>
            </table>

  		</form>
  		<iframe name="_dataFrame" style="display:none;"></iframe>
  </body>
  <script type="text/javascript">
  		function sure(){
  			document.forms['f1'].submit();
  		}
  		//添加成功
  		function addBack(){
  			window.opener.window.location.reload();
  			window.close();
  		}
  </script>
</html>
